package com.kaka.bus.engine.user.forget;

import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

/**
 * Created by zhangqi on 2016/10/17.
 * e-mail : ${email}
 * desc :
 */

public interface ForgetContract {

    interface View extends BaseView{
        void forgetSuccess();
        void phoneIsExist();
        void phoneState(HttpWrapper<String> wrapper);

        void BQSLose();

        void yzmFaild(HttpWrapper<String> bean);

        void sendSuccess(HttpWrapper<String> bean);

        void rePasswordSuccess(HttpWrapper<String> bean);
    }

    interface Presenter extends BasePresenter<View>{
        boolean sendyzm(String phone,String tokenKey);
        void rePassword(String phone,String pwd,String yzm);

        void isExist(String phone);
    }
}
